package cate.game.train.hero.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTrain;
import cate.game.role.bag.hero.Hero;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "英雄转移 返回")
public class HeroTransferResp implements MsgOutput {
    @NoteField(value = "来源英雄")
    public Hero source;

    @NoteField(value = "目标英雄")
    public Hero target;

    public HeroTransferResp(){

    }

    public HeroTransferResp(Hero source, Hero target){
        this.source = source;
        this.target = target;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBTrain.HERO_TRANSFER_RESP;
    }
}
